package com.splic.product.service;

import cn.hutool.json.JSONObject;
import com.splic.product.domain.Weather;
import com.splic.product.dto.LocationInfoDTO;

import java.util.List;

public interface AccuweatherService {
    LocationInfoDTO getAddressByLatLon(String lat, String lon);

    JSONObject getRealtimeWeatherByAreaCode(String areaCode);

    JSONObject getForecastWeatherByAreaCode(String areaCode);

    List<Weather> selectUserWeather(String lat, String lon, Long userId);
}
